package com.example.tests;

import java.util.Random;

import org.testng.annotations.Test;

public class ContactModificationTests extends TestBase {
	
	Random rnd = new Random();	
	@Test
	public void testContactModification() throws Exception {
		ContactObject validContact = new ContactObject()
				.setFirstName("first name_mod"+rnd)
				.setLastName("last name_mod"+rnd)
				.setAddress("address_mod"+rnd)
				.setHome("home phone_mod"+rnd)
				.setMobile("mobile phone_mod"+rnd)
				.setWork("work phone_mod"+rnd)
				.setEmail("email_mod"+rnd)
				.setEmail2("email2_mod"+rnd)
				.setByear("2001")
				.setAddress2("address2_mod"+rnd)
				.setHome("home_mod"+rnd)
				.setId("id");
		app.getContactHelper().createContact(validContact);
	}
		
}
